home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / FromTheMag / JW FLV MEDIA PLAYER 4.2 / mediaplayer.exe / player.swf / scripts / com / jeroenwijering / events / ControllerEvent.as < prev    next >
Text File  |  2008-11-04  |  1KB  |  43 lines

  1. package com.jeroenwijering.events
  2. {
  3.    import flash.events.Event;
  4.    
  5.    public class ControllerEvent extends Event
  6.    {
  7.       
  8.       public static var PLAYLIST:String = "PLAYLIST";
  9.       
  10.       public static var ERROR:String = "ERROR";
  11.       
  12.       public static var STOP:String = "STOP";
  13.       
  14.       public static var ITEM:String = "ITEM";
  15.       
  16.       public static var PLAY:String = "PLAY";
  17.       
  18.       public static var SEEK:String = "SEEK";
  19.       
  20.       public static var MUTE:String = "MUTE";
  21.       
  22.       public static var VOLUME:String = "VOLUME";
  23.       
  24.       public static var RESIZE:String = "RESIZE";
  25.       
  26.       public static var QUALITY:String = "QUALITY";
  27.        
  28.       
  29.       private var _data:Object;
  30.       
  31.       public function ControllerEvent(param1:String, param2:Object = undefined, param3:Boolean = false, param4:Boolean = false)
  32.       {
  33.          super(param1,param3,param4);
  34.          _data = param2;
  35.       }
  36.       
  37.       public function get data() : Object
  38.       {
  39.          return _data;
  40.       }
  41.    }
  42. }
  43.